package com.myfum.mobile.tetris.events
{
	import flash.events.Event;
	
	public class ControlEvent extends Event
	{
		public static const ROTATE:String     = "rotate";
		public static const MOVE_LEFT:String  = "moveLeft";
		public static const MOVE_RIGHT:String = "moveRight";
		public static const MOVE_DOWN:String  = "moveDown";
		public static const DROP:String       = "drop";
		public function ControlEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event{
			var e:ControlEvent = new ControlEvent(type, bubbles, cancelable);
			return e;
		}
	}
}